From: Felix Fietkau Date: Thu, 19 Jul 2007 18:20:56 +0000 (+0000) Subject: really fix tgz images X-Git-Tag: kamikaze_7.07~60 X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22%24PHP_SELF/%22https:/collectd.org/%22%24PHP_SELF?a=commitdiff_plain;h=fea67013ea2076c8638e7688db6d050d6a233f92;p=openwrt%2Fsvn-archive%2Fopenwrt.git really fix tgz images SVN-Revision: 8065 --- diff --git a/include/image.mk b/include/image.mk index 9c6133850c..84549c5543 100644 --- a/include/image.mk +++ b/include/image.mk @@ -63,7 +63,6 @@ ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),y) ifeq ($(CONFIG_TARGET_ROOTFS_TGZ),y) define Image/mkfs/tgz $(TAR) -zcf $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-rootfs.tgz --owner=root --group=root -C $(BUILD_DIR)/root/ . - $(call Image/Build,tgz) endef endif else diff --git a/target/linux/adm5120-2.6/image/Makefile b/target/linux/adm5120-2.6/image/Makefile index c4fdf95c2c..38692e3df8 100644 --- a/target/linux/adm5120-2.6/image/Makefile +++ b/target/linux/adm5120-2.6/image/Makefile @@ -121,10 +121,13 @@ endif endif endif endif -ifeq ($(1),tgz) +endef + +ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),y) + define Image/BuildKernel $(call Image/Build/RouterBoard) + endef endif -endef define Image/Build/LZMAKernel $(LOADER_MAKE) TARGET_DIR=$(BIN_DIR) \